package cn.com.maven.designpattern.FactoryMethod;

/**
 * @Author YongQiang
 * @Date 2021/5/19 14:30
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        AbstractFactory factory = null;
        factory = new HaierFactory();
        factory.createProduct().show();
        factory = new GeliFactory();
        factory.createProduct().show();
    }
}
